<div class="crumb_nav">
<a href="<?php echo site_url()?>">Home</a> | <?php echo anchor ('kategori/all/'.makeslug($kat_nama).'/'.$kat_id,$kat_nama)?> | <?php echo $ven_nama?>
</div>
<div class="title"><span class="title_icon"><img src="<?php echo base_url()?>assets/images/bullet1.gif" alt="" title="" /></span>Category <?php echo $kat_nama?> <?php echo $ven_nama?></div>
<div class="nav_title">
	<?php foreach($res_ven as $nav):?>
	<div class="sub_nav_title">
		<?php echo anchor('kategori/manufaktur/'.makeslug($nav['nama_vendor']).'/'.$nav['prod_kat_id'].'/'.$nav['prod_vendor_id'],$nav['nama_vendor'])?>
	</div>
	<?php endforeach;?>
		
</div>
<div class="new_products">
	<?php if(!empty($res_prod)): ?>
		<?php $i = 1?>
		<?php foreach($res_prod as $row_prod): ?>
			<div class="prod_list">
				<div class="prod_box">
						<?php echo anchor('produk/view/'.$row_prod['prod_kat_id'].'/'.$row_prod['prod_vendor_id'].'/'.$row_prod['produk_id'].'/'.'kat-'.makeslug($row_prod['nama_produk']),'
											<img src="'.base_url().'public/photo/'.$row_prod['image_medium'].'" alt="'.$row_prod['nama_produk'].'" class="thumb">')?>
					
				</div>
				<div class="prod_desc">
					<div class="prod_title_list"><?php echo anchor('produk/view/'.$row_prod['prod_kat_id'].'/'.$row_prod['prod_vendor_id'].'/'.$row_prod['produk_id'].'/'.'kat-'.makeslug($row_prod['nama_produk']),$row_prod['nama_produk']);?></div>
					<div class="details"><p><?php echo character_limiter($row_prod['deskripsi'],200);?></p></div>
					<div class="price"><strong>Harga:</strong> <span class="red"><?php echo formatHarga($row_prod['harga_jual_baru'],'lengkap')?></span> <a href="#buy<?php echo $i;?>" rel="facebox">Beli Sekarang<a/> | <?php echo anchor('produk/view/'.$row_prod['prod_kat_id'].'/'.$row_prod['prod_vendor_id'].'/'.$row_prod['produk_id'].'/'.'kat-'.makeslug($row_prod['nama_produk']),'Detail Produk');?></div>	
					
					<div id="buy<?php echo $i;?>" style="display:none;">
						<strong>Produk yang telah anda order adalah : <?php echo $row_prod['nama_produk'];?></strong><br />
						<strong>Harga : <?php echo formatHarga($row_prod['harga_jual_baru'],'lengkap');?></strong>
						<form method="post" action="<?php echo site_url()?>order/add_cart_fast/<?php echo $row_prod['prod_kat_id'];?>/<?php echo $row_prod['prod_vendor_id'];?>/<?php echo $row_prod['produk_id'];?>/<?php echo 'kat-'.makeslug($row_prod['nama_produk']);?>" method="post">
						Jumlah :
						<?php echo form_error('jml', '<div class="error">', '</div>'); ?>
						<input class="input" type="text" name="jml" size="5" value="1">
						<input type="submit" class="cart_button" name="submit" value="">
						</form>
					</div>
				</div>  	
			</div>
		<?php $i++;?>
		<?php endforeach; ?>
		<?php if($this->pagination->create_links()) echo '<div class="pagination">'. $this->pagination->create_links().'</div>'; ?>                   
	<?php else: ?>
		No data.
	<?php endif;?>
</div> 


				